WebsiteGenerator.generate   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
import Generator from './Base';
2
3
/**
4
 * Generates a https website for random domain.
5
 * @returns {string} website
6
 * @requires domain
7
 * @generator
8
 */
9
export default class WebsiteGenerator extends Generator {
10
    generate() {
11
        return `https://${this.fatum.domain()}`;
12
    }
13
}
14